package com.leen.video.service.impl;

import com.leen.video.entity.Picture;
import com.leen.video.repository.PictureRepository;
import com.leen.video.service.PictureService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


/**
 * Sm.Ms图床业务实现层
 * @author xjl
 * @date 2021-05-21
 */
@Service
public class PictureServiceImpl extends CurdServiceImpl<Picture,Long> implements PictureService {
    private PictureRepository pictureRepository;


    @Autowired
    public void setLocalStorageRepository(PictureRepository pictureRepository){
        this.pictureRepository = pictureRepository;
        //给父类赋值
        super.setCrudRepository(pictureRepository);
    }

}
